//
//  DNNetWorkTarget.swift
//  LunalerApp
//
//  Created by 露乐ios on 2018/3/3.
//  Copyright © 2018年 露乐ios. All rights reserved.
//

import Foundation
import SolarNetwork

struct DNHTTPBinTarget : SLTarget{
    
    enum DNService {
        case Release , Debug
    }
    static let kService = DNService.Debug
    var baseURLString: String {
        get{
            if DNHTTPBinTarget.kService == DNService.Debug{
                return "http://ws.sandbox.mammasay.com"
                
            }else if DNHTTPBinTarget.kService == DNService.Release{
                return "http://ws.mammasay.com"
            }
            return ""
        }
    }
    
}
